package org.paradise.dms.services.impl;

import java.util.List;

import org.apache.log4j.Logger;
import org.paradise.dms.dao.impl.JasperDAOImpl;
import org.paradise.dms.pojo.Apartment;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class JasperServiceImpl {
	private static Logger log = Logger.getLogger(ApartmentServiceImpl.class);
	@Autowired
	private JasperDAOImpl jasperDAOImpl;

	

	public JasperDAOImpl getJasperDAOImpl() {
		return jasperDAOImpl;
	}

	public void setJasperDAOImpl(JasperDAOImpl jasperDAOImpl) {
		this.jasperDAOImpl = jasperDAOImpl;
	}
	
	public List<Apartment> listAllApartment() {

		return jasperDAOImpl.listAllApartment();
	}

}
